package com.lex.entity.role;

import com.lex.data.admin.model.LexCmsRoleMenu;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
@Schema(name = "RoleListDto", description = "平台角色列表Dto类")
public class RoleListDto {
    @Schema(description = "角色id")
    private Long id;
    @Schema(description = "角色名称")
    private String roleName;
    @Schema(description = "角色描述")
    private String remark;
    @Schema(description = "创建时间")
    private Timestamp createTime;
    @Schema(description = "更新时间")
    private Timestamp updateTime;
    @Schema(description = "角色状态")
    private Integer status;
    @Schema(description = "角色拥有菜单列表")
    private List<LexCmsRoleMenu> menuIds;
}
